package cn.edu.scau.cmi.dengzejun.chapter09;

public class Example9_1 {
	public static void main(String agrs[]) {
		String s1,s2;
		s1 = new String("Marisa");
		s2 = new String("Marisa");
		System.out.println(s1.equals(s2));
		System.out.println(s1 == s2);
		String s3 , s4 ;
		s3 = "Reimu";
		s4 = "Reimu";
		System.out.println(s3.equals(s4));
		System.out.println(s3 == s4);
		return;
	}
}
